home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 22 / Cream of the Crop 22.iso / program / cgazv3n4.zip / DIF-DIR.ZIP / DIFPROTO.H < prev    next >
C/C++ Source or Header  |  1989-04-23  |  2KB  |  44 lines

  1. /************************** DIFPROTO.H *************************
  2. *   Prototypes of functions defined in dif.c
  3. *   (c) Copyright Victor Volkman, 1989. See dif.c for terms.
  4. ***************************************************************/
  5.  
  6. int add_dif_numeric_to_db3_record(int, dif_elt_p, db3_hdr_p);
  7. int add_dif_string_to_db3_record(int, dif_elt_p, db3_hdr_p);
  8. int add_dif_to_db3_record(int, dif_elt_p, db3_hdr_p);
  9.  
  10. int build_db3_name_from_label(char *, char *);
  11. int build_db3_name_from_label(char *, char *);
  12.  
  13. int calculate_db3_header(dif_hdr_p, db3_hdr_p);
  14. char *mcalloc(int, int);
  15.  
  16. int check_dif_type_numeric(dif_elt_p, db3_hdr_elt_p);
  17. int check_dif_type_string(dif_elt_p, db3_hdr_elt_p);
  18.  
  19. int dif_to_db3(char *, char *);
  20. int dump_db3_hdr(db3_hdr_p);
  21. int dump_db3_hdr_elt(db3_hdr_elt_p);
  22. int error_msg(char *, char *);
  23.  
  24. int format_db3_date_from_string(char *, char *);
  25. int format_db3_logical_from_string(char *, char *);
  26. int free_dif_hdr(dif_hdr_p);
  27. int free_db3_hdr(db3_hdr_p);
  28.  
  29. int is_date(char *);
  30. int is_logical(char *);
  31.  
  32. int lookup_val_strs(char *, enum dif_val_vals *);
  33. int main(int, char **);
  34. int mfree(char *);
  35.  
  36. int read_dif_cell(FILE *, dif_elt_p);
  37. int read_dif_data_and_write_db3(FILE *, int, db3_hdr_p);
  38. int read_dif_data_for_types(FILE *, db3_hdr_p);
  39. int read_dif_hdr_elt(FILE *, dif_elt_p, enum dif_hdr_vals *);
  40. int read_dif_line(FILE *, char *);
  41. int read_opt_dif_header(FILE *, dif_hdr_p);
  42. int read_reqd_dif_header(FILE *, dif_hdr_p, db3_hdr_p);
  43. int write_db3_header(int, dif_hdr_p, db3_hdr_p);
  44.